<style>
.finder-list td {overflow:visible;}
.finder-detail-content {overflow:visible !important;}
</style>
<div class="tableform">
  <div class="division">
    <div  class="table-grid">
      <table width="100%" border="0" cellspacing="0" cellpadding="0" class="gridlist">
        <thead>
        <tr>
          <th><{t}>序号<{/t}></th>
          <th><{t}>微信号<{/t}></th>
          <th><{t}>openid<{/t}></th>
          <th><{t}>操作<{/t}></th>
        </tr>
      </thead>
      <tbody>
        <{foreach from=$rows item=row name="item"}>
        <tr>
          <td><{$smarty.foreach.item.iteration }></td>
          <td ><{$row.nickname}> </td>
          <td><{$row.openid}></td>
          <td ><button onclick="delClick('<{$row.auth_id}>')">解绑</button></td>
        </tr>
        <{/foreach}>
      </tbody>
      </table>
    </div>
  </div>
  
<script>
    function delClick(del_id){
        
        new Request.HTML({
            url:'index.php?app=b2c&ctl=admin_member&act=del_wxlogin',
            data:{
                'del_id':del_id,
            },
            method:'post',
            onSuccess:function(response){
                    window.location.reload();
            }
      }).send();
    }
</script>
</div>
